public class Transfer
{
	private int recAccountNr;
	private int recBankCode;
	private int transferAmount;
	private String reasonForPayment;
	private int ownerAccountNr;
	private String recName;
	private String ownerName;
	private static Transfer[] allTransfers;
	private static int totalTransfers;
	
	public Transfer(int recAccountNr, int recBankCode, int transferAmount, String reasonForPayment, int ownerAccountNr, String ownerName, String recName)
	{
		this.recAccountNr = recAccountNr;
		this.recBankCode = recBankCode;
		this.transferAmount = transferAmount;
		this.reasonForPayment = reasonForPayment;
		this.ownerAccountNr = ownerAccountNr;
		this.ownerName = ownerName;
		this.recName = recName;
		allTransfers[totalTransfers] = this;
		totalTransfers += 1;
		
		
	}
	
	public int getTransferAmount()
	{
		return transferAmount;
	}
	
	public String getOwnerName()
	{
		return ownerName;
	}
	
	public int getRecBankCode()
	{
		return recBankCode;
	}
	
	public int getRecAccountNr()
	{
		return recAccountNr;
	}
	
	public String getReasonForPayment()
	{
		return reasonForPayment;
	}
	public int getOwnerAccountNr()
	{
		return ownerAccountNr;
	}
	
	
	